package excercise;

public class Q39_Phone {
	

	private String maker;
	private int price;
	private String commtype;
	
	public Q39_Phone(){
		
		maker = "";
		price = 0;
		commtype = "";
		
	}
	
	public Q39_Phone(String maker, int price, String commtype){
		
		this.maker = maker;
		this.price = price;
		this.commtype = commtype;
		
	}
	
	public void setMaker(String maker){
		
		this.maker = maker;
		
	}
	
	public String setMaker(){
		
		return maker;
		
	}
	
	public void setPrice(int price){
		
		this.price = price;
		
	}
	
	public int setPrice(){
		
		return price;
		
	}
	
	public void setCommtype(String commtype){
		
		this.commtype = commtype;
		
	}
	
	public String setCommtype(){
		
		return commtype;
		
	}
	
	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return super.equals(obj);
	}
	
}
